using System;
using System.Collections;
using System.Web;
using Sedna.Core.Controller;
using Sedna.Core.Controller.Common;

namespace Sedna.Core.Controls.Actions
{
	/// <summary>
	/// Summary description for BranchOnPostBackAction.
	/// </summary>
	public class BranchOnPostBackAction: AbstractAction 
	{
		public override IActionResult Execute(IExecutionContext executionContext)
		{
			if (executionContext.IsPostBack)
			{
				return CreateResult("isPostBack");
			}

			return CreateResult("isNotPostBack");
		}
	}
}
